package com.qianzhou.mapper;

import com.qianzhou.bo.OrdersBO;
import com.qianzhou.pojo.Orders;

import java.util.List;

public interface OrdersMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Orders record);

    int insertSelective(Orders record);

    Orders selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Orders record);

    int updateByPrimaryKey(Orders record);

    // 根据订单信息查找对应的用户信息
    List<OrdersBO> selectUserByOrder();
}